# coding=utf-8

from api.basei.CMemory import DllBase, CMemory


class AppConfig(object):

    def __init__(self):
        pass

    def load_cfg(self):
        pass

    def install(self):

        # 无限聚气
        game_addr = DllBase.d2game()
        writer = CMemory(game_addr)
        writer.set_byte(0x9F593, 0x90)
        writer.set_byte(0x9F594, 0x90)

    def uninstall(self):
        pass
